@extends('admin.public.layout')
@section('title', '图片管理')

@section('css')
<style></style>
@endsection

@section('content')
    <div class="row">
        <div class="col-lg-12">
            <div class="card">
                <div class="card-header">
                    <h3>图片管理</h3>
                </div>
                <div class="card-body">
                    <form action="#!" method="post" name="edit-form" class="edit-form">
                        <div class="form-group">
                          <label for="web_site_logo">LOGO图片</label>
                          <div class="input-group">
                            <input type="text" class="form-control" name="site_logo" id="site_logo" value="" placeholder="请选择上传的图片">
                            <div class="input-group-btn"><button class="btn btn-default" type="button" onclick="uploadImg('site_logo')">上传图片</button></div>
                          </div>
                          <div class="form-controls">
                              <a class="pic-add" id="add-pic-btn" href="javascript:void(0)" title="图片展示">
                              	<img src="" class="site_logo_img mdi-plus">
                              	<div class="deleteImg" data-id="site_logo"><i class="mdi mdi-delete"></i></div>
                              </a>
                          </div>
                        </div>
                        <div class="form-group">
                          <button type="submit" class="btn btn-primary m-r-5">确 定</button>
                          <button type="button" class="btn btn-default" onclick="javascript:history.back(-1);return false;">返 回</button>
                        </div>
                   </form>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('js')
<script type="text/javascript" src="{{asset('static/common/js/image.js')}}"></script>
@endsection